package com.zte.cl.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.zte.cl.model.Img;

@Repository
public interface ImgRepository extends JpaRepository<Img, String> {

	List<Img> findByNewsIdOrderByInsertTimeAsc(String newsId);
	
	List<Img> findByNewsIdIn(List<String> newsIdList);
}
